package com.geralt.im.model;

import java.util.List;

public class ServerInfo {
	List<String> onlineUsers;
	String RunTimeLong;
	String startTime;
	String serverStatus;
	

	/**
	 * @return the serverStatus
	 */
	public String getServerStatus() {
		return serverStatus;
	}
	/**
	 * @param serverStatus the serverStatus to set
	 */
	public void setServerStatus(String serverStatus) {
		this.serverStatus = serverStatus;
	}
	/**
	 * @return the onlineUsers
	 */
	public List<String> getOnlineUsers() {
		return onlineUsers;
	}
	/**
	 * @param onlineUsers the onlineUsers to set
	 */
	public void setOnlineUsers(List<String> onlineUsers) {
		this.onlineUsers = onlineUsers;
	}
	/**
	 * @return the runTimeLong
	 */
	public String getRunTimeLong() {
		return RunTimeLong;
	}
	/**
	 * @param runTimeLong the runTimeLong to set
	 */
	public void setRunTimeLong(String runTimeLong) {
		RunTimeLong = runTimeLong;
	}
	/**
	 * @return the strartTime
	 */
	public String getStartTime() {
		return startTime;
	}
	/**
	 * @param strartTime the strartTime to set
	 */
	public void setStartTime(String strartTime) {
		this.startTime = strartTime;
	}
	
	/* (non-Javadoc)
	 * @see java.lang.Object#toString()
	 */
	/*@Override
	public String toString() {
		return "ServerInfo [onlineUsers=" + getUserListString() + ", RunTimeLong="
				+ RunTimeLong + ", strartTime=" + strartTime
				+ ", serverStatus=" + serverStatus + "]";
	}*/
	/*public String getUserListString(){
		StringBuilder userString = new StringBuilder("");
		if(onlineUsers.size()==0)
			return " No online users";
		for(String user: onlineUsers)
			userString.append(user+" , ");
		return userString.toString();
	}*/
}
